load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
    name = "test_utils",
    testonly = True,
    srcs = glob(["src/**/*.rs"]),
    crate_name = "ic_ledger_test_utils",
    version = "0.9.0",
    deps = [
        # Keep sorted.
        "//packages/icrc-ledger-types:icrc_ledger_types",
        "//packages/pocket-ic",
        "//rs/ledger_suite/common/ledger_core",
        "//rs/ledger_suite/icp:icp_ledger",
        "//rs/ledger_suite/icp/index:ic-icp-index",
        "//rs/rust_canisters/dfn_protobuf",
        "//rs/rust_canisters/on_wire",
        "//rs/state_machine_tests",
        "//rs/types/base_types",
        "@crate_index//:candid",
        "@crate_index//:hex",
        "@crate_index//:ic-management-canister-types",
        "@crate_index//:serde",
    ],
)
